package com.shenghui.enterprise.enterprise.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Description: 企业基础信息表 实体类信息
 * @Author tt
 * @Email: happyxiaohou@gmail.com
 * @Date: 2020-10-13
 * @Copyright (c) 2020-2022 云南昇晖科技有限公司
 */
@ApiModel(value="企业基础信息表对象", description="企业基础信息表")
public class EntBasicInfo extends Model<EntBasicInfo> {

	private static final long serialVersionUID = 1L;

	/**
	 * ID信息
	 */
	@ApiModelProperty(value = "ID信息")
	@TableId(value = "id", type = IdType.ASSIGN_UUID)
	private String id;
	/**
	 * 用户名称
	 */
	private String userAccount;
	/**
	 * 单位名称
	 */
	@ApiModelProperty(value = "单位名称")
	private String entName;
	/**
	 * 统一社会信息代码
	 */
	@ApiModelProperty(value = "统一社会信息代码")
	private String entCode;
	/**
	 * 法定代表人(负责人)
	 */
	@ApiModelProperty(value = "法定代表人(负责人)")
	private String legalPerson;
	/**
	 * 单位性质
	 */
	@ApiModelProperty(value = "单位性质")
	private String entProperty;
	/**
	 * 注册日期
	 */
	@ApiModelProperty(value = "注册日期")
	private LocalDate registerTime;

	/**
	 * 注册日期字符串，主要用于接收注册时的参数信息
	 */
	@ApiModelProperty(value = "注册日期字符串，主要用于接收注册时的参数信息")
	@TableField(exist = false)
	private String registerTimeStr;
	/**
	 * 注册地址
	 */
	@ApiModelProperty(value = "注册地址")
	private String registerAddress;
	/**
	 * 密码
	 */
	@ApiModelProperty(value = "密码")
	private String pwd;
	/**
	 * 创建用户ID
	 */
	@ApiModelProperty(value = "创建用户ID")
	private String createUserId;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createDate;
	/**
	 * 更新用户ID
	 */
	@ApiModelProperty(value = "更新用户ID")
	private String updateUserId;
	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间")
	private LocalDateTime updateDate;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getEntName() {
		return entName;
	}

	public void setEntName(String entName) {
		this.entName = entName;
	}

	public String getEntCode() {
		return entCode;
	}

	public void setEntCode(String entCode) {
		this.entCode = entCode;
	}

	public String getLegalPerson() {
		return legalPerson;
	}

	public void setLegalPerson(String legalPerson) {
		this.legalPerson = legalPerson;
	}

	public String getEntProperty() {
		return entProperty;
	}

	public void setEntProperty(String entProperty) {
		this.entProperty = entProperty;
	}

	public LocalDate getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(LocalDate registerTime) {
		this.registerTime = registerTime;
	}

	public String getRegisterTimeStr() {
		return registerTimeStr;
	}

	public void setRegisterTimeStr(String registerTimeStr) {
		this.registerTimeStr = registerTimeStr;
	}

	public String getRegisterAddress() {
		return registerAddress;
	}

	public void setRegisterAddress(String registerAddress) {
		this.registerAddress = registerAddress;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public LocalDateTime getCreateDate() {
		return createDate;
	}

	public void setCreateDate(LocalDateTime createDate) {
		this.createDate = createDate;
	}

	public String getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(String updateUserId) {
		this.updateUserId = updateUserId;
	}

	public LocalDateTime getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(LocalDateTime updateDate) {
		this.updateDate = updateDate;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
